home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
batch
/
Mousek.lha
/
MouseK
/
mousek.doc
< prev
next >
Wrap
Text File
|
1994-10-04
|
821b
|
36 lines
Mousek 1.1 (7/5/94) ©1994 Michael Askin
---------------------------------------
This simple program simply sets the return code depending on the status of
the mouse buttons...
0 - No mouse buttons pressed
1 - Left mouse button pressed
2 - Right mouse button pressed
3 - Both mouse buttons pressed
What you do with it after then is up to you. In my startup sequence, first
line I have :
mousek
if $rc eq 1
quit
endif
This will stop the Startup-sequence from executing further if the left
button was pressed when mousek was run.
There is no output, no args, only a version string, and was written in
AmigaE. This makes the executable pretty small.
Have fun with it,
Mike - M.C.Askin@electronic-engineering@hull.ac.uk (till Aug '96)
or Snail Mail:
54 York Rd, Greenwood Ave, Hull, E.Yorks, England. HU6 9RA.